<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 transitional//EN">
<html>
<head>
<title>Measure Element</title>
<link rel="stylesheet" href="../style/style.css" type="text/css"/>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<h1>Measure</h1>

<p>Base element for measure elements within a cube.</p>

<h3>Description</h3>

<p>The measure is an abstract element that defines the basic properties of a measure element.
It has two derived elements: tabular and ODA measure elements.</p>

<p>Measure is the quantity that you are interested in measuring, for example, 
unit sales of a product, or cost price of inventory items.</p>

<h3>See Also</h3>

<h2 class="property">measureExpression</h2>

<p>The BIRT expression that defines the value of the measure element.</p>

<h3>Description</h3>

<p>The expression that gets evaluated and its resulting value assigned to the measure element.
If the isCalculated is false, then the value of this property should be a column name. 
If it is true, the value of this property should be an expression for the computed measure.</p>

<h3>See Also</h3>
<h2 class="property">function</h2>

<p>The aggregation function applied to this measure.</p>
<h3>Choices</h3>
<ul>
  <li>sum</li>
  <li>average</li>
  <li>max</li>
  <li>min</li>
  <li>first</li>
  <li>last</li>
  <li>count</li>
  <li>count-distinct</li>
</ul>

<h3>Description</h3>

<p>This property gives out the function that user wants to apply on this measure.</p>

<h3>See Also</h3>

<h2 class="property">dataType</h2>

<p>Measure data type property.</p>

<h3>Description</h3>
<p>This property gives out the data type of the measure resulting data.</p>

<h3>See Also</h3>
<h2 class="property">isCalculated</h2>

<p>Indicate whether this measure is computed by other measures.</p>

<h3>Description</h3>

<p>This property indicates whether this measure is computed by other measures. True if it is
calculated by other measures; otherwise false. By default, its value is FALSE.</p>

<h3>See Also</h3>
</body>
</html>